package com.yeyks.dal.dao;

import com.yeyks.dal.domain.VipOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VipOrderMapper {
    int deleteByPrimaryKey(Long id);

    int insert(VipOrder record);

    VipOrder selectByPrimaryKey(Long id);

    List<VipOrder> selectAll();

    int updateByPrimaryKey(VipOrder record);

    void insertReturnId(VipOrder vipOrder);

    VipOrder selectOrderByOrderNo(@Param("orderNo") String orderNo);

    Integer updateByOrderNoAndStatus(@Param("orderNo") String orderNo, @Param("status") Integer status);
}